<?php
namespace Home\Controller;
use Think\Controller;
class CommonController extends Controller{

    public function verify(){
        $verify=new \Think\Verify();//创建生成验证码类
        $verify->entry();//生成验证码
    }
}